home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Revista CD Expert 13
/
CD Expert nº 13.iso
/
tim30
/
sierra.inf
< prev
Wrap
INI File
|
1995-09-12
|
5KB
|
219 lines
[Setup]
SetupSize=380
BillboardSize=0
CanInstallDOS=No
[Requirements]
SetupVer=2.1.0.0
Colors=256
MemKB=7168
PhysicalMem=7168
SwapFile=7168
VideoSpeed=200
Wave=2
MIDI=2
CPU=486
WinVer=310
ScreenWidth=640
ScreenHeight=480
Joystick=0
Printer=0
CDROM=2
[Ident]
Version=300
ProductID=86882
[Dialogs]
BEGIN 0,NotifyInstallSystem
InstallSystem
1, NotifySysText
10, OKText
END
BEGIN 1,Register
Register
1, RegisterText1
12, YESText, (), FLAG8
13, NOText
END
BEGIN 2, Restart
Installation Complete
1, RestartPrompt1
1, RestartPrompt2
10, RestartNow, (), FLAG9
13, RestartLater
END
BEGIN 3, Done
AllDone
1, AllDoneText
10, OKText
END
BEGIN 4, FailedWin32s
FailTitleWin32s
1, FailTextWin32s
1, FailTextWin32sShare
1, FailTextWin32sShare1
1, FailTextWin32sShare2
1, FailTextWin32sShare3
1, FailTextWin32sShare4
1, FailTextWin32sShare5
10, OKText
END
BEGIN 5, FailedWinG
FailTitleWinG
1, FailTextWinG
10, OKText
END
BEGIN 6, FailedVFW
FailTitleVFW
1, FailTextVFW
10, OKText
END
BEGIN 7, FailedWinSpace
FailTitleWinSpace
1, FailTextWinSpace
1, FailTextWinSpace2
10, OKText
END
[Script]
:Begin
;
; FLAG usage:
; FLAG0 - TRUE if not running NT or Win95
; FLAG1 - Unused
; FLAG2 - Unused
; FLAG3 - TRUE if WinG needs to be installed
; FLAG4 - TRUE if WinG failed to install
; FLAG5 - TRUE if Win32s needs to be installed
; FLAG6 - TRUE if Win32s failed to install
; FLAG7 - TRUE if user does not have enough disk space
; FLAG8 - TRUE if user wants to register product
; FLAG9 - TRUE if user wants to restart computer
;
;
; Determine if running on NT or Win95
NOTWINNT FLAG0
;
; Determine which system components will be installed
FLAG0 VERSIONCHECK *SYSTEMDIR\WIN32S16.DLL 1.25.142.0 FLAG5
FLAG0 VERSIONCHECK *SYSTEMDIR\WING.DLL 1.0.0.37 FLAG3
;
; Determine if there is enough space on system drive
FLAG3 WinDiskSpace_LT 500 FLAG7
FLAG7 goto NoWinSpace
FLAG5 WinDiskSpace_LT 2000 FLAG7
FLAG7 goto NoWinSpace
FLAG3 FLAG5 WinDiskSpace_LT 2500 FLAG7
FLAG7 goto NoWinSpace
;
;
; Notify player system stuff is going to be installed.
FLAG3 FLAG5 DIALOG NotifyInstallSystem
;
;
; Install Win32S via Microsoft Setup
;FLAG0 WIN32CHECK SILENT 1.30.152.0, ,FLAG5
FLAG0 VERSIONCHECK *SYSTEMDIR\WIN32S16.DLL 1.25.142.0 FLAG5
FLAG0 FLAG5 RUN 1 WIN32S\DISK1\MSSETUP.EXE *SOURCEDIR\WIN32S\DISK1\MSSETUP.EXE
FLAG0 VERSIONCHECK *SYSTEMDIR\WIN32S16.DLL 1.25.142.0 FLAG6
FLAG0 FLAG6 GOTO FailWin32s
;
;
; Install WinG via Microsoft Setup
FLAG0 VERSIONCHECK *SYSTEMDIR\WING.DLL 1.0.0.37 FLAG3
FLAG0 FLAG3 RUN 1 WING\MSSETUP.EXE *SOURCEDIR\WING\MSSETUP.EXE
FLAG0 VERSIONCHECK *SYSTEMDIR\WING.DLL 1.0.0.37 FLAG4
FLAG0 FLAG4 GOTO FailWinG
;
;
; Pick destination directory.
PICKDEST End
;
;
; Copy all of the files to hard drive.
COPY
;
;
; Add the install path to Sierra.ini
ADDTOINI *WINDOWSDIR\SIERRA.INI, TimWin, InstallPath, *DESTDIR
ADDTOINI *WINDOWSDIR\SIERRA.INI, TimWin, CDPath, *SOURCEDIR\TIMDEMO
;
;
; Create "Sierra" group and add program icons
;GOTO AddGroups
ADDPROGMANGROUP Sierra
ADDPROGMANITEM *SIERRADIR\SETUP.EXE, SetupTitle, ,*SIERRADIR
ADDPROGMANITEM *SOURCEDIR\TIMDEMO\TIMDEMO.EXE, ShortTimDemoTitle, , *SOURCEDIR\TIMDEMO
;ADDPROGMANITEM *DESTDIR\AUTORUN.EXE, ProgManTitle, , *DESTDIR
ADDPROGMANITEM *SOURCEDIR\README.WRI, ShortTimReadMeTitle, , *SOURCEDIR
;:AddGroups
;ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item1, [CreateGroup(Sierra)]
;ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item2, [ShowGroup(Sierra,2)]
;ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item3, [ShowGroup(Sierra,1)]
;ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item4, [ReplaceItem(Setup & Uninstall)]
;ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item5, [AddItem(*SIERRADIR\SETUP.EXE,Setup & Uninstall)]
;ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item6, [ReplaceItem(The Incredible Machine Demo)]
;ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item7, [AddItem(*DESTDIR\AUTORUN.EXE,The Incredible Machine Demo)]
;ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item8, [ReplaceItem(TIM Demo Read Me)]
;ADDTOINI *DESTDIR\AUTORUN.INF, ProgramEntries, Item9, [AddItem(*DESTDIR\README.WRI,TIM Demo Read Me)]
;RUN 1 *SOURCEDIR\AUTORUN.EXE *SOURCEDIR\AUTORUN.EXE &*DESTDIR\AUTORUN.INF
;
;
; Does User want to register?
;
DIALOG Register
FLAG8 REGISTER
;
;
; If any system files were installed, user MUST restart their system.
FLAG3 GOTO AskRestart
FLAG5 GOTO AskRestart
GOTO End
;
;
; Prompt user that their system needs to be restarted.
:AskRestart
DIALOG Restart
FLAG9 RESTARTWINDOWS
;
;
; If user did not restart, remind them again.
DIALOG Done
GOTO End
;
;
; Display Win32s failed to install
:FailWin32s
DIALOG FailedWin32s
GOTO End
;
;
; Display WinG failed to install
:FailWinG
DIALOG FailedWinG
GOTO End
;
;
; Display Not Enough space in Windows directory
:
:NoWinSpace
DIALOG FailedWinSpace
GOTO End
;
;
:End
END
[Archives]
TIMDEMO\,1,0,0
[Files]
;
; TimWin
;
;*DESTDIR\AUTORUN.INF,NOARCHIVE,1,741,1
;*DESTDIR\AUTORUN.EXE,NOARCHIVE,1,48128,1
*DESTDIR\README.WRI,NOARCHIVE,1,2688,1